package com.example.xpvideo.entity;

import java.time.LocalDateTime;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 本地商户管理员表(LocalMerchantsAdmin)实体类
 *
 * @author 杨丽辉
 * @since 2021-08-03 01:05:48
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class LocalMerchantsAdmin implements Serializable {
    private static final long serialVersionUID = 998753145921537889L;
        /**
    *主键
    * id
    * isnull 1
    */
        private Integer id;

    /**
    * user_id
    * isnull 0
    */            private Integer userId;
    /**
    * 入驻时间
    * isnull 0
    */        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
            private LocalDateTime settledTime;
    /**
    * 状态：0：冻结；1：正常
    * isnull 0
    */            private String stage;
    /**
    * 管理员账号（即手机号）
    * isnull 0
    */            private String account;
        
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
        
    public LocalDateTime getSettledTime() {
        return settledTime;
    }

    public void setSettledTime(LocalDateTime settledTime) {
        this.settledTime = settledTime;
    }
        
    public String getStage() {
        return stage;
    }

    public void setStage(String stage) {
        this.stage = stage;
    }
        
    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

        @Override
    public String toString() {
        return "{" +
                    " \"id\":" + id +
                                  " ,\"userId\":" + userId +
                            " ,\"settledTime\":" + settledTime +
                            " ,\"stage\":" + stage +
                            " ,\"account\":" + account +
                  '}';
    }


}
